package structDemo

import "fmt"

type Person struct {
	Name string
}

func (p *Person) SayHello() {
	fmt.Println(p.Name, "hello world")
}

type Name string

func (name Name) SayHello() {
	fmt.Println(name, "hello world")
}
